package cn.wolfcode.luowowo.hotel.service.impl;

import cn.wolfcode.luowowo.hotel.domain.HotelCity;
import cn.wolfcode.luowowo.hotel.mapper.HotelCityMapper;
import cn.wolfcode.luowowo.hotel.service.IHotelCityService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class HotelCityServiceImpl implements IHotelCityService {
    @Autowired
    private HotelCityMapper hotelCityMapper;

    public List<HotelCity> getCity() {
        return hotelCityMapper.selectCity();
    }

    public List<HotelCity> getHotelByTheme(String content) {
        return hotelCityMapper.getHotelByTheme(content);
    }

    public List<HotelCity> getDest() {
        return hotelCityMapper.getDest();
    }

    public List<HotelCity> getForeignCity() {
        return hotelCityMapper.getForeignCity();
    }


}
